﻿using System.Windows;
using System.Windows.Controls;
using Esponce.Models;

namespace Esponce
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
		}

		public MainViewModel ViewModel
		{
			get
			{
				return this.DataContext as MainViewModel;
			}
		}

		private void Generate_Click(object sender, RoutedEventArgs e)
		{
			ViewModel.Generate();
		}
	}
}
